//
//  ImageCollectionCell.m
//  WanCaiC8
//
//  Created by tangang on 2018/3/2.
//  Copyright © 2018年 tangang. All rights reserved.
//

#import "ImageCollectionCell.h"

@implementation ImageCollectionCell{
    UIImageView     *imageV;
}

- (instancetype)initWithFrame:(CGRect)frame{
    if (self=[super initWithFrame:frame]) {
        WS(weakSelf);
        imageV=[[UIImageView alloc]init];
        [self.contentView addSubview:imageV];
        [imageV mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(weakSelf.contentView);
        }];
    }
    return self;
}

- (void)setImage:(UIImage *)image{
    imageV.image=image;
}

@end
